-ifndef (OSMOS_FORMAT_HRL).
-define (OSMOS_FORMAT_HRL, true).

-record (osmos_format, { to_binary, from_binary }).

-define (osmos_format_to_binary (F, X),
	 (((F)#osmos_format.to_binary) (X))).

-define (osmos_format_from_binary (F, X),
	 (((F)#osmos_format.from_binary) (X))).

-endif.
